package u17.uitls;

import java.text.SimpleDateFormat;
import java.util.Date;

public class DateToString {
	private static final String DEFAULT = "yyyy-MM-dd";
	
	public static String getDate(Date date){
		SimpleDateFormat sdf = new SimpleDateFormat(DateToString.DEFAULT);
		return sdf.format(date);
	}
}
